package com.settlement.system.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 小红书订单销售导入VO
* </p>
*
* @author huangrensen
* @since 2024-07-02
*/
@Schema
@Data
public class XhsBillImportVo implements Serializable {
    @ExcelProperty(value = "结算时间")
    private String settlementTime;
    @ExcelProperty(value = "下单时间")
    private String orderTime;
    @ExcelProperty(value = "完成时间")
    private String finishTime;
    @ExcelProperty(value = "订单号")
    private String orderNo;
    @ExcelProperty(value = "收入金额")
    private String incomeAmount;
    @ExcelProperty(value = "结算帐户")
    private String account;
    @ExcelProperty(value = "计佣基数")
    private String commissionNo;
    @ExcelProperty(value = "商品实付")
    private String actAmount;
    @ExcelProperty(value = "商家优惠总额")
    private String sellerDiscount;
    @ExcelProperty(value = "平台优惠补贴")
    private String platformDiscount;
    @ExcelProperty(value = "跨境税代缴")
    private String payOther;
    @ExcelProperty(value = "商品税金")
    private String productTax;
    @ExcelProperty(value = "佣金")
    private String commissionAmount;
    @ExcelProperty(value = "运费实付")
    private String transportAmount;
    @ExcelProperty(value = "平台运费补贴")
    private String platformTransportAmount;
    @ExcelProperty(value = "运费税金")
    private String transportTax;
    @ExcelProperty(value = "支付渠道费")
    private String payAmount;
    @ExcelProperty(value = "分销佣金")
    private String distributeCommission;
    @ExcelProperty(value = "服务商佣金")
    private String serviceCommission;
    @ExcelProperty(value = "花呗分期手续费")
    private String hbCommission;
    @ExcelProperty(value = "分期费率")
    private String stageRate;
    @ExcelProperty(value = "备注")
    private String remark;
    @ExcelIgnore
    private String billMonth;
    @ExcelIgnore
    private String uuid;
    @ExcelIgnore
    private Long storeId;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("店铺ID", "storeId");
        map.put("结算时间", "settlementTime");
        map.put("下单时间", "orderTime");
        map.put("完成时间", "finishTime");
        map.put("订单号", "orderNo");
        map.put("收入金额", "incomeAmount");
        map.put("结算帐户", "account");
        map.put("计佣基数", "commissionNo");
        map.put("商品实付", "actAmount");
        map.put("商家优惠总额", "sellerDiscount");
        map.put("平台优惠补贴", "platformDiscount");
        map.put("跨境税代缴", "payOther");
        map.put("商品税金", "productTax");
        map.put("佣金", "commissionAmount");
        map.put("运费实付", "transportAmount");
        map.put("平台运费补贴", "platformTransportAmount");
        map.put("运费税金", "transportTax");
        map.put("支付渠道费", "payAmount");
        map.put("分销佣金", "distributeCommission");
        map.put("服务商佣金", "serviceCommission");
        map.put("花呗分期手续费", "hbCommission");
        map.put("分期费率", "stageRate");
        map.put("备注", "remark");
        return map;
    }
}
